import { type MockMethod } from 'vite-plugin-mock'

export default [
  // 一个接口一个对象
  {
    url: '/api/photo/list',
    method: 'get',
    response: () => {
      return {
        code: 0,
        message: '成功',
        'data|10': [
          {
            'id|+1': 100,
            name: '@cname'
          }
        ]
      }
    }
  }
] as MockMethod[]
